﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace ServicesLibrary.Models
{
    public class RegisterFormModel
    {
        [Display(Name = "First Name")]
        public string FirstName { get; set; }

        [Display(Name = "Last Name")]
        public string LastName { get; set; }


        [Required(ErrorMessage = "Username is not valid")]
        [Display(Name = "Username")]
        public string Username { get; set; }



        [Required(ErrorMessage = "Password is not valid")]
        [DataType(DataType.Password)]
        [Display(Name = "Password")]
        public string Password { get; set; }

        [Required(ErrorMessage = "Password does not match")]
        [DataType(DataType.Password)]
        [Display(Name = "Retype")]
        public string RePassword { get; set; }




        [Required(ErrorMessage = "Invalid email")]
        [Display(Name = "Email")]
        public string Email { get; set; }


    }
}